package cn.jy.task.job;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.jy.task.service.IPurchaseAndSellService;

@Service("MinJob")
public class MinJob {
	@Autowired
	IPurchaseAndSellService purchaseAndSellService;
    public void work(){
    	purchaseAndSellService.purchase();
    	purchaseAndSellService.sell();
    }
}
